package ru.demo.abstarctservice.framework;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EntityScan("ru.demo.abstarctservice.entity")
@EnableJpaRepositories("ru.demo.abstarctservice.adapter.jpa")
@SpringBootApplication(scanBasePackages = "ru.demo.abstarctservice")
public class AbstarctServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AbstarctServiceApplication.class, args);
    }

}
